package com.gzc.just.play.last.war.sceneserver.serializer;

import com.gzc.just.play.last.war.common.annotation.MessageDeserializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 通用战斗消息反序列化器
 */
@Component
@MessageDeserializer(
    messageId = 1008, // BATTLE_MESSAGE (通用战斗消息)
    messageType = byte[].class,
    module = "scene-server",
    name = "BattleMessageDeserializer"
)
public class BattleMessageDeserializer implements com.gzc.just.play.last.war.common.serializer.MessageDeserializer<byte[]> {
    private static final Logger logger = LoggerFactory.getLogger(BattleMessageDeserializer.class);
    
    @Override
    public byte[] deserialize(byte[] bytes) {
        return bytes;
    }
}
